package com.my.study.structures.stack;

/**
 * @author Carlos
 * @version 1.0
 * @Description 逆波兰计算器测试
 * @date 2021/6/23 22:42
 **/
public class PolandCalTest {

    public static void main(String[] args) {
        String suffixExpression = "2*((2*6)-12)+1";
        PolandNotationCalculator cal = new PolandNotationCalculator(suffixExpression);

        int calculator = cal.calculator();
        System.out.println(calculator);
    }
}
